home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Magazine / Online / QMail / source / fifo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-15  |  269 b   |  11 lines

  1. #include <sys/types.h>
  2. #include <sys/stat.h>
  3. #include "hasmkffo.h"
  4. #include "fifo.h"
  5.  
  6. #ifdef HASMKFIFO
  7. int fifo_make(fn,mode) char *fn; int mode; { return mkfifo(fn,mode); }
  8. #else
  9. int fifo_make(fn,mode) char *fn; int mode; { return mknod(fn,S_IFIFO | mode,0); }
  10. #endif
  11.